<cfif isdefined("url.id")>
	<cfquery name="qtable" dbtype="query">
		SELECT *
		from session.qtables
		where id = '#url.id#'
	</cfquery>
	<cfset idvalue = qtable.id />
<cfelse>
	Error, no id passed in. <cfabort>
</cfif>
<cfoutput>
<cfset scriptname = replace(getdirectoryfrompath(cgi.SCRIPT_NAME), "/", ".", "ALL") />
<cfset scriptname = mid(scriptname,2, len(scriptname))/>

<cfset table = createobject("component", "#scriptname#.table").init("#qtable.object#", "#qtable.pk#", "#qtable.dbtype#", session.dsn, session.appname, session.packagename) />
<cfset table.applychanges() />
</cfoutput>
<cflocation url="savewebservices.cfm">